// COnLine.h: interface for the COnLine class.
//
//////////////////////////////////////////////////////////////////////
#ifndef IONLINE_H
#define IONLINE_H

class IOnLine  
{
public:
	virtual ~IOnLine(){};
public:
	virtual int SetAGV(BOOL bMode) = 0;
	virtual int PortUnloading(CString strEQPID, CString strPortID, CString strLine) = 0;
	virtual int PortLoading(CString strEQPID, CString strPortID, CString strLine) = 0;
	virtual int RFIDRead(CString strEQPID, const CString& strOperID, const CString& strLOTID , const CString& strCASSETTEID, CString strPortID, CString strLine) = 0;
	virtual int ReadyToWork(CString strEQPID, const CString& strOperID, const CString& strLOTID, const CString& strCASSETTEID, CString strLine) = 0;
	virtual int WaferWorkStart(CString strEQPID, const CString& strWaferID, const CString& strSeq, const CString& strLOTID, CString strLine) = 0;
	virtual int WaferWorkComplete(CString strEQPID, const CString& strWaferID, const CString& strSeq, const CString& strLOTID, CString strLine) = 0;
	virtual int WorkComplete(CString strEQPID, const CString& strOperID, const CString& strLOTID, const CString& strCASSETTEID, CString strPortID, CString strAGV, CString strWaferQty, CString strLine) = 0;
	virtual int Alarm(CString strEQPID, const CString& strOperID, const CString& strAlarmID, const CString& strAlarmCode, const CString& strAlarmTX, CString strLine) = 0;
	virtual int CHECKLUX(CString strEQPID, const CString& strLOTID, const CString& strCASSETTEID, CString str_Auto_Ch1, CString str_Auto_Ch2, CString str_Auto_Ch3, CString str_Auto_Ch4,CString str_Auto_Ch5, CString strLine) = 0;
	virtual int RunStartLUX(CString strEQPID, const CString& strLOTID, CString str_Auto_Ch1, CString str_Auto_Ch2, CString str_Auto_Ch3, CString str_Auto_Ch4,CString str_Auto_Ch5, CString strLine) = 0;
	virtual int WaferLUX(CString strEQPID, const CString& strLOTID, CString strPortID, const CString& strSlot, const CString& strUVTime, CString strLine) = 0;
	virtual int AGVCall(CString strEQPID, const CString& strLOTID , const CString& strCASSETTEID, CString strPortID, CString strLine) = 0;
	virtual void SetSendData(CString strSendData) = 0;
	virtual CString GetSendData() = 0;
};

#endif // IONLINE_H
